package com.atguigu.auth;

import com.atguigu.auth.mapper.SysRoleMapper;
import com.atguigu.auth.service.SysUserService;
import com.atguigu.model.system.SysRole;
import com.atguigu.model.system.SysUser;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

import javax.annotation.Resource;
import java.util.List;

@SpringBootTest
public class cs {

    @Resource
    private SysUserService sysUserService;

    @Test
    public void getAll(){
        SysUser sysRoles = sysUserService.getByUsername("admin");
        System.out.println(sysRoles);

    }

}
